﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class UserControl_ControlDisplayUser : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Session["user"] == null)
                Response.Redirect(webapp4U.Globals.ApplicationPath + "Default.aspx");
            else
                lblUser.Text = "Chào mừng: " + Session["user"].ToString();
        }
    }
}